/*******************************************************************
 * Created Sun Mar 20 16:37:09 2011 by Tuxedo V8.0-01 (C++ Bindings)
 *******************************************************************
 */

/*
 * Client Stubs include file: (prodcfg_c.h)
 * --------------------------------------------
 *
 * This module contains definitions and prototypes
 * for the following Interfaces:
 *
 *    IProdcfg
 *    ProdcfgFactory
 *
 */

#include <CORBA.h>
#include <orbgen.h>
namespace Prodcfg
{
    class	IProdcfg;
    typedef	IProdcfg *	IProdcfg_ptr;
    class IProdcfg_out;

#ifndef _Prodcfg_IProdcfg_definition
#define _Prodcfg_IProdcfg_definition
    class  IProdcfg_var : public ::CORBA::_var {
        public:
            IProdcfg_var();
            inline IProdcfg_var(IProdcfg_ptr p) {ptr_ = p; }
            IProdcfg_var(const IProdcfg_var &a);
            ~IProdcfg_var()
                { free();}

            IProdcfg_var &operator=(IProdcfg_ptr p)
                { if (p != ptr_) reset(p);
                return *this; }

            IProdcfg_var &operator=(const IProdcfg_var &a);
            inline IProdcfg_ptr in () const { return ptr_; }
            inline IProdcfg_ptr & inout () { return ptr_; }
            IProdcfg_ptr & out ();
            IProdcfg_ptr _retn ();

            inline operator IProdcfg_ptr&() { return ptr_; }
            inline operator const IProdcfg_ptr&() const { return ptr_; }
            inline IProdcfg_ptr operator->() const { return ptr_; }

            inline operator ::CORBA::Object_ptr() const { return (::CORBA::Object_ptr)ptr_; }
            inline IProdcfg_ptr & ptr () { return ptr_; }
        protected:
            IProdcfg_ptr ptr_;
            void free();
            void reset(IProdcfg_ptr p) { free(); ptr_ = p; }

        private:
            void operator=(const ::CORBA::_var &);
    };  // class IProdcfg_var


#endif /* _Prodcfg_IProdcfg_definition */

    class	ProdcfgFactory;
    typedef	ProdcfgFactory *	ProdcfgFactory_ptr;
    class ProdcfgFactory_out;

#ifndef _Prodcfg_ProdcfgFactory_definition
#define _Prodcfg_ProdcfgFactory_definition
    class  ProdcfgFactory_var : public ::CORBA::_var {
        public:
            ProdcfgFactory_var();
            inline ProdcfgFactory_var(ProdcfgFactory_ptr p) {ptr_ = p; }
            ProdcfgFactory_var(const ProdcfgFactory_var &a);
            ~ProdcfgFactory_var()
                { free();}

            ProdcfgFactory_var &operator=(ProdcfgFactory_ptr p)
                { if (p != ptr_) reset(p);
                return *this; }

            ProdcfgFactory_var &operator=(const ProdcfgFactory_var &a);
            inline ProdcfgFactory_ptr in () const { return ptr_; }
            inline ProdcfgFactory_ptr & inout () { return ptr_; }
            ProdcfgFactory_ptr & out ();
            ProdcfgFactory_ptr _retn ();

            inline operator ProdcfgFactory_ptr&() { return ptr_; }
            inline operator const ProdcfgFactory_ptr&() const { return ptr_; }
            inline ProdcfgFactory_ptr operator->() const { return ptr_; }

            inline operator ::CORBA::Object_ptr() const { return (::CORBA::Object_ptr)ptr_; }
            inline ProdcfgFactory_ptr & ptr () { return ptr_; }
        protected:
            ProdcfgFactory_ptr ptr_;
            void free();
            void reset(ProdcfgFactory_ptr p) { free(); ptr_ = p; }

        private:
            void operator=(const ::CORBA::_var &);
    };  // class ProdcfgFactory_var


#endif /* _Prodcfg_ProdcfgFactory_definition */

}  // namespace Prodcfg


#ifndef _prodcfg_c_H
#define _prodcfg_c_H

#include <string.h>

#if defined(WIN32)
#pragma warning(disable:4250)
#endif

namespace Prodcfg
{


    extern const ::CORBA::TypeCode_ptr _tc_IProdcfg;
    class  IProdcfg : public virtual ::CORBA::Object
     {
        public:
            static IProdcfg_ptr _duplicate(IProdcfg_ptr obj) 
                {if (! ::CORBA::is_nil(obj)) obj->OBB__increment_refcount();
                return obj;}
            static IProdcfg_ptr _narrow(::CORBA::Object_ptr obj, ::CORBA::Boolean isa = CORBA_TRUE);
            inline static IProdcfg_ptr _nil() { return 0; }
            static const char* _get_interface_name ();

            virtual ::CORBA::Short saveProdSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveProdCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveProdSpecCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProdSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProvinceProdSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProdCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseSpecCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveMdseSpecCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveMdseSpecCatalogNode (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveMdseSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProvinceMdseSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short copyProd (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short copyMdseSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProdSpecByCondition (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseSpecByCondition (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short deleteProdSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short deleteMdseSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short executeMdseSpecDefineFlow (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short executeProdSpecDefineFlow (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short executePreferSpecDefineFlow (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short executePriceSpecDefineFlow (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short executeSalePlanDefineFlow (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryAuditHistory (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPriceCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePriceCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPricePlan (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePricePlan (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPreferPriceSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePreferPriceSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProvincePreferPriceSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryDisobeyProc (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveAfterSaleProc (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryFeaDispForConfig (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProcType (
                const char * str_input,
                ::CORBA::String_out str_output); 

            virtual ::CORBA::Short buildProcType (
                const char * str_input,
                ::CORBA::String_out str_output); 

            virtual ::CORBA::Short savePriceSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPriceSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProvincePriceSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseGroup (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short invalidProdMdseSpec (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveMdseSaleRight (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryStaffMdseSaleRight (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short querySaleMdseSpecCatalogByStaff (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseSpecInfoForCfg (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryCatalogTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveCatalogTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveTemplate (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveAreaSaleMdseSpecCatalog (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveFeaDisp (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryStaffProdConfigRight (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveStaffProdConfigRight (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveMdseGroupMdse (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseGroupMdse (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveMdseGroup (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseCatalogCodeAndName (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseByCondition (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryConfigTreeByStaffId (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveConfigInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryConfigRightByStaffId (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveConfigRight (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryFeaGroupByMdseSpecId (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePmRelaTypeOpRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPmRelaTypeOpRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePmRelaTypeProcRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPmRelaTypeProcRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryAffterSaleRestrictRule (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveAffterSaleRestrictRule (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryLogInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryLogDetailInfo (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveProdCommon (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProdCommon (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryProdCommonForEdit (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short querySystemBusinessScope (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryDimension (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveDimension (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryDimensionTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveDimensionTree (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short getRuleCfgPrior (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveRuleCfgPrior (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short distributeMdseByDimension (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryStaffMdseProc (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveStaffMdseProc (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPmOperTip (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePmOperTip (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveProdCommonForAuto (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short synchExtCodeAndInterCode (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short savePreferStopState (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryPreferStopState (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short queryMdseFolderRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short saveMdseFolderRela (
                const char * str_inxml,
                ::CORBA::String_out str_outxml); 

            virtual ::CORBA::Short CommonService (
                const char * str_methname,
                const char * str_input,
                ::CORBA::String_out str_output); 

        protected:
            IProdcfg(::CORBA::Object_ptr obj = 0);
            virtual ~IProdcfg(){ }

        private:
            IProdcfg( const IProdcfg&) { }
            void operator=(const IProdcfg&) { }
            ::CORBA::ORB_ptr pORB;
    };  // class IProdcfg



    class  IProdcfg_out
     {
        public:
            IProdcfg_out (IProdcfg_ptr & p);
            IProdcfg_out (IProdcfg_var & p);
            IProdcfg_out (const IProdcfg_out & p) : ptr_(p.ptr_) {}
            IProdcfg_out & operator=(const IProdcfg_out & a) {
                ptr_ = a.ptr_; return *this;}
            IProdcfg_out & operator=(const IProdcfg_var & a);
            IProdcfg_out & operator=(IProdcfg_ptr p) {
            ptr_ = p; return *this;}
            inline operator IProdcfg_ptr & () { return ptr_; }
            inline IProdcfg_ptr & ptr () { return ptr_; }
            inline IProdcfg_ptr operator->() { return ptr_; }
        private:
            IProdcfg_ptr & ptr_;
    };  // class IProdcfg_out



    extern const ::CORBA::TypeCode_ptr _tc_ProdcfgFactory;
    class  ProdcfgFactory : public virtual ::CORBA::Object
     {
        public:
            static ProdcfgFactory_ptr _duplicate(ProdcfgFactory_ptr obj) 
                {if (! ::CORBA::is_nil(obj)) obj->OBB__increment_refcount();
                return obj;}
            static ProdcfgFactory_ptr _narrow(::CORBA::Object_ptr obj, ::CORBA::Boolean isa = CORBA_TRUE);
            inline static ProdcfgFactory_ptr _nil() { return 0; }
            static const char* _get_interface_name ();

            virtual IProdcfg_ptr findIProdcfg (); 

        protected:
            ProdcfgFactory(::CORBA::Object_ptr obj = 0);
            virtual ~ProdcfgFactory(){ }

        private:
            ProdcfgFactory( const ProdcfgFactory&) { }
            void operator=(const ProdcfgFactory&) { }
            ::CORBA::ORB_ptr pORB;
    };  // class ProdcfgFactory



    class  ProdcfgFactory_out
     {
        public:
            ProdcfgFactory_out (ProdcfgFactory_ptr & p);
            ProdcfgFactory_out (ProdcfgFactory_var & p);
            ProdcfgFactory_out (const ProdcfgFactory_out & p) : ptr_(p.ptr_) {}
            ProdcfgFactory_out & operator=(const ProdcfgFactory_out & a) {
                ptr_ = a.ptr_; return *this;}
            ProdcfgFactory_out & operator=(const ProdcfgFactory_var & a);
            ProdcfgFactory_out & operator=(ProdcfgFactory_ptr p) {
            ptr_ = p; return *this;}
            inline operator ProdcfgFactory_ptr & () { return ptr_; }
            inline ProdcfgFactory_ptr & ptr () { return ptr_; }
            inline ProdcfgFactory_ptr operator->() { return ptr_; }
        private:
            ProdcfgFactory_ptr & ptr_;
    };  // class ProdcfgFactory_out

}  // namespace Prodcfg

void  operator<<=(::CORBA::Any &a, ::Prodcfg::IProdcfg_ptr obj);
::CORBA::Boolean  operator>>=(const ::CORBA::Any &a, ::Prodcfg::IProdcfg_ptr &obj);
void  operator<<=(::CORBA::Any &a, ::Prodcfg::ProdcfgFactory_ptr obj);
::CORBA::Boolean  operator>>=(const ::CORBA::Any &a, ::Prodcfg::ProdcfgFactory_ptr &obj);
OBB::MarshalBuf  &operator<<(OBB::MarshalBuf &mb, Prodcfg::IProdcfg_ptr _obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Prodcfg::IProdcfg_ptr &_obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Prodcfg::IProdcfg_var &_obj);
OBB::MarshalBuf  &operator<<(OBB::MarshalBuf &mb, Prodcfg::ProdcfgFactory_ptr _obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Prodcfg::ProdcfgFactory_ptr &_obj);
OBB::MarshalBuf  &operator>>(OBB::MarshalBuf &mb, Prodcfg::ProdcfgFactory_var &_obj);
#endif

